//
//  SSError.m
//  SSNetworkDemo
//
//  Created by su on 16/6/15.
//  Copyright © 2016年 SS. All rights reserved.
//

#import "SSError.h"
static const NSInteger success = 0;
static const NSInteger failed = 9;

@implementation SSError

+ (SSError *) errorWithFieldName:(NSString *)field fieldValue:(id) value
{
    SSError *error = [[SSError alloc] init];
    error.fieldName = field;
    error.fieldValue = value;
    error.code = failed;
    return error;
}

@end
